using System;
using System.Collections.Generic;

namespace HISModels.Entities {


    public class LabRecords : Quitioner{
        public ICollection<KimiaDarah> KimiaDarah { get; set; }
    }

    public class Quitioner {
        public string NameValue { get; set; }
        public string StringValue { get; set; }
    }

    public class KimiaDarah : Quitioner {

        public ICollection<Quitioner> FungsiGinjal { get; set; }
    }

    public class SampleNewPatientLabs {

        private LabRecords labRecord = null;
        private KimiaDarah kimiaDarah = null;

        public LabRecords SetPatientLabs() {
            
            labRecord.NameValue = "LAB";

            kimiaDarah = new KimiaDarah();
            kimiaDarah.NameValue = "Kimia Darah 01";

            Quitioner Ureum = new Quitioner();
            Ureum.NameValue = "Ureum";

            Quitioner Creatinin = new Quitioner();
            Ureum.NameValue = "Creatinin";

            Quitioner UricAcid = new Quitioner();
            Ureum.NameValue = "Asam Urat (Uric Acid)";
            
            kimiaDarah.FungsiGinjal.Add(Ureum);
            
            labRecord.KimiaDarah.Add(kimiaDarah);

            return labRecord;
            
        }

    }

    //public class dd {
    //    public void test() {
    //        Diet gg = new Diet();
    //        gg.HospitalName = "Lipo Karawaci";
    //        gg.PatientName = "Ardi";
    //        Quitioner k = new Quitioner();
    //        k.NameValue = "Diet Diabetes Melitus";
    //        gg.Kesimpulan.Kesimpulans.Add(k);



    //    }
    //}

    //public class Diet {

    //    private string patientName = string.Empty;

    //    public string HospitalName { get; set; }

    //    public string PatientName { get; set; }

    //    public string Title {
    //        get {
    //            return "Pemesanan Makanan Pasien";
    //        }
    //    }

    //    public KesimpulanDiet Kesimpulan { get ; set; }

    //}

    public class KesimpulanDiet : Quitioner {

        public ICollection<Quitioner> Kesimpulans { get; set; }

    }


}

